import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: HP
 * Date: 2023 -04 -17
 * Time: 23:25
 */
public class Faculty extends Employee{
    private String worktime;
    private String level;

    public Faculty(String name, String addr, String telp, String emil, String dept, String salary, Date hire, String worktime, String level) {
        super(name, addr, telp, emil, dept, salary, hire);
        this.worktime = worktime;
        this.level = level;
    }

    @Override
    public String toString() {
        return "Faculty{" +
                "worktime=" + worktime +
                ", level=" + level +" "+super.toString()+
                '}';
    }
}
